package com.marvels.approve.manager.dto;

import java.util.Date;

import com.marvels.common.constants.PageConstant;
import com.marvels.common.dto.BaseDTO;

/**
 * @author 何杰  
 * mcam_case_manager
 * 2018年3月29日
 */
public class CaseManagerDTO extends BaseDTO{
	private Long id;
	private String code;//'流程CODE,系统管理需要',
	private String name;// '流程名称',
	private String processDefinitionId;//
	private String actKey;//'流程ID/KEY',
	private String actName;//'流程名称',
	private Integer actVersion;//'流程使用版本',
	private Integer status;//'0有效 1无效',
	private String firstNode;//流程第一个节点
	
	private String createdBy;//'创建用户',
	private Date createdDate;//'创建时间',
	private String updatedBy;//'更新用户',
	private Date updatedDate;//'更新时间',
	
	/**
	 * 页码
	 */
	private Integer pageNo;
	/**
	 * 每页大小
	 */
	private Integer pageSize;
	
	private String enCode ;//MD5
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getActKey() {
		return actKey;
	}
	public void setActKey(String actKey) {
		this.actKey = actKey;
	}
	public String getActName() {
		return actName;
	}
	public void setActName(String actName) {
		this.actName = actName;
	}
	public Integer getActVersion() {
		return actVersion;
	}
	public void setActVersion(Integer actVersion) {
		this.actVersion = actVersion;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public String getUpdatedBy() {
		return updatedBy;
	}
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}
	public Date getUpdatedDate() {
		return updatedDate;
	}
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}
	public String getEnCode() {
		return enCode;
	}
	public void setEnCode(String enCode) {
		this.enCode = enCode;
	}
	public String getFirstNode() {
		return firstNode;
	}
	public void setFirstNode(String firstNode) {
		this.firstNode = firstNode;
	}
	public String getProcessDefinitionId() {
		return processDefinitionId;
	}
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}
	public Integer getPageNo() {
		if(pageNo==null||pageNo==0){
			return PageConstant.CURRPAGE;
		}
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		if(pageSize==null||pageSize==0){
			return PageConstant.PAGESIZE;
		}
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	
	
	
}
 